package com.ly.honor.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName bs_player
 */
@TableName(value ="bs_player")
@Data
public class Player implements Serializable {
    /**
     * 选手id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 照片
     */
    @TableField(value = "picture")
    private String picture;

    /**
     * 选手姓名
     */
    @TableField(value = "name")
    private String name;

    /**
     * 国家id
     */
    @TableField(value = "country_id")
    private Integer countryId;

    /**
     * 年龄
     */
    @TableField(value = "age")
    private Integer age;

    /**
     * 学历
     */
    @TableField(value = "education_id")
    private Integer educationId;

    /**
     * 游戏id
     */
    @TableField(value = "game_id")
    private Integer gameId;

    /**
     * 位置id
     */
    @TableField(value = "place_id")
    private Integer placeId;

    /**
     * 信誉积分
     */
    @TableField(value = "honor_integral")
    private Integer honorIntegral;

    /**
     * 俱乐部id
     */
    @TableField(value = "clue_id")
    private Integer clueId;
    /**
     * 个人简介
     */
    @TableField(value = "biography")
    private String biography;

    /**
     * 退役标志  0 未退役 1 已退役
     */
    @TableField(value = "retire_flag")
    private Integer retireFlag;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 删除标记 0 未删除 1 已删除
     */
    @TableLogic
    @TableField(value = "del_flag")
    private Integer delFlag;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}